package com.ydl.partitionscheduler.strategy;

import com.ydl.partitionscheduler.config.TablePartitionProperties;
import com.ydl.partitionscheduler.model.PartitionInfo;

import java.util.List;

public interface PartitionStrategy {

    String getStrategyName();

    List<PartitionInfo> generatePartitions(TablePartitionProperties.TablePartitionConfig config);

}
